package demo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import demo.entity.MissionEnclosure;

public interface MissionEnclosureMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MissionEnclosure record);

    int insertSelective(MissionEnclosure record);

    MissionEnclosure selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MissionEnclosure record);

    int updateByPrimaryKey(MissionEnclosure record);
    
    List<MissionEnclosure> findBySuperioridAndSendid(@Param("superiorid")Integer superiorid,@Param("sendid")Integer sendid);
    
    MissionEnclosure findBySuperiorid(@Param("superiorid")Integer superiorid);
}